package com.ll.app.api.req;

import com.ll.base.dto.PageReqDTO;
import com.ll.domain.classbase.enums.CourseStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageCourseReqDTO extends PageReqDTO {

    @NotNull(message = "dingTalkUserId 不能为null")
    @ApiModelProperty(value = "钉钉用户id", example = "123456")
    private String dingTalkUserId;

    @ApiModelProperty(value = "状态", example = "未开始")
    private List<CourseStatusEnum> statues;
}
